﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DemoApp.Uc
{
    public partial class UserImage : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // Response.Write("Image: " + imgUrl);
            //PictureBox.ImageUrl = imgUrl;
        }

        private string imgUrl;

        public string ImgUrl
        {
            get { return imgUrl; }
            set
            {
                imgUrl = value;
                PictureBox.ImageUrl = value;
            }
        }

    }
}